package com.jxaummd.aquaculture.entity;

public class DeviceInfo {

    /**
     * success : true
     * device : {"id":1,"name":"前门门锁","position":"江西省南昌市江西农业大学","power":"57","pwd":"123456"}
     */

    private boolean success;
    private DeviceBean device;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public DeviceBean getDevice() {
        return device;
    }

    public void setDevice(DeviceBean device) {
        this.device = device;
    }

    public static class DeviceBean {
        /**
         * id : 1
         * name : 前门门锁
         * position : 江西省南昌市江西农业大学
         * power : 57
         * pwd : 123456
         */

        private int id;
        private String name;
        private String position;
        private String power;
        private String pwd;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getPower() {
            return power;
        }

        public void setPower(String power) {
            this.power = power;
        }

        public String getPwd() {
            return pwd;
        }

        public void setPwd(String pwd) {
            this.pwd = pwd;
        }
    }
}
